package com.example.chapter12.design.factory.demo3;

import com.example.chapter12.design.factory.demo1.Apple;
import com.example.chapter12.design.factory.demo1.Fruit;

public class AppleFactory implements IFactory {
    @Override
    public Fruit create(){
        return new Apple();
    }
}
